#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>

int main()
{
	FILE *fp = NULL;
	fp = fopen("tmp","r");
	if(fp == NULL)
	{
		fprintf(stderr,"fopen():%s\n",strerror(errno));
		exit(1);
	}
	puts("ok!\n");

	fclose(fp);
	exit(0);
}
